<div class="p10 col-xs-12"  ng-init="queryCommentList()">
	<div class="col-xs-12 BGFFF p20 r5">
<div class="col-xs-6 f16 fb p0 mb5">评论管理</div>
<div class="col-xs-6 f14 p0 mb5 tr">
	<a type="button" class="btn btn-primary btn-sm" id="refresh" ng-click="queryCommentList(list.page.currentPage)"> <i class="iconfont fb">&#xe6aa;&nbsp;</i>刷新</a>
	<a type="button" class="btn btn-adorn btn-sm" onclick="history.back(-1);"> <i class="iconfont fb">&#xe697;&nbsp;</i>后退</a>
</div>
<div class="col-xs-3 f16 fb pl0 mb10 pb5 mt20">评论列表</div>

<div class="col-xs-9 mt20 p0 mb10 f14 tr">
	<a type="button" class="btn btn-danger btn-sm cursor"
		ng-click="del('user/comment/delete.do?ids='+deleteIds,'','确认批量删除选中的评论？')"> 
		<i class="iconfont fb">&#xe69d;</i>&nbsp;批量删除
	</a>
</div>

<div class="col-xs-12 p0">
	<table class="table table-bordered table-hover">
		<thead>
			<tr class="BGEEE">
				<th class="w60"><input type="checkbox" id="select-all" ng-click="selectAll('select-all','deleteIds',comments)">&nbsp;全选</th>
				<th class="tc">内容</th>
				<th class="tc w200">回复</th>
				<th class="tc w100">时间</th>
				<th class="w200 tc">操作</th>
			</tr>
		</thead>
		
		<tbody>
			<tr ng-repeat="item in comments">
				<td><input type="checkbox" name="deleteIds" ng-click="checkboxSelect('deleteIds',item.id)"></td>
				<td class="tc">{{item.content| cut:true:25:' ...'}}</td>
				<td class="tc w200">{{item.reply| cut:true:15:' ...'}}</td>
				<td class="tc w200">{{item.createTimeStr}}</td>
				<td class="tc w200">
				<a class="f12 text-primary mr10 cursor"
					ng-click="detail('编辑【'+item.content+'】',700,'user/comment/detail.do?id='+item.id)"
					data-toggle="tooltip" data-placement="top"
					data-original-title="编辑"> <i class="iconfont f12">&#xe69e;修改</i>
				</a>
				<a class="f12 text-danger mr10 cursor" title="删除"
					ng-click="del('user/comment/delete.do?id='+item.id,item.content)">
					<i class="iconfont f12">&#xe69d;删除</i>
				</a>
				</td>
			</tr>

		</tbody>
	</table>
	<div ui-view="page" ng-init="callBackMethod = 'queryCommentList'; modelKey='comments'"></div></div>
</div>
</div>
<div class="cb"></div>

